package security.Authentication.StaticData;

import security.Authorization.Base.AuthorizationLevel;

/**
 * Data class for a user in the static authentication data
 * @author Andreas Carmvall
 */
public class UserData {
	
	/**
	 * The user password
	 */
	private String password;
	
	/**
	 * The user authorization level
	 */
	private AuthorizationLevel level;
	
	/**
	 * The user email
	 */
	private String email;
	
	/**
	 * Class constructor
	 * @param password the user password
	 * @param level the user authorization level
	 */
	public UserData(String password, AuthorizationLevel level, String email) {
		this.password = password;
		this.level = level;
		this.email = email;
	}
	
	/**
	 * Get the password
	 * @return the user password
	 */
	public String getPassword() {
		return password;
	}
	
	/**
	 * Get the level
	 * @return the authorization level
	 */
	public AuthorizationLevel getLevel() {
		return level;
	}
	
	/**
	 * Get the email
	 * @return the user email
	 */
	public String getEmail() {
		return email;
	}
}
